package common

import (
	"crypto/md5"
	"fmt"
)

func Encrypt(key string)string{
	data := []byte(key)
	encryptData := md5.Sum(data)
	return fmt.Sprintf("%x",encryptData)
}
